<form method="post" action="{$config.app_root_url}?module=artist&act=multi" id="multi-delete-form" enctype="multipart/form-data" class="lbpdc">
    <div class="table-header pkg">
        <input class="button" name="multidel" value="Xóa" type="submit" rel="confirm" title="Bạn chắc chắn muốn xóa?" rev="genre-id">
    </div>
    <table class="table-list" cellspacing="0">
        <tr>
            <th width="3%" style="text-align:center"><input type="checkbox" id="allbox" class="checkbox" value="checkall" name="allbox" /></th>
            <th width="2%" align="center"></th>
            <th width="60%" align="left">Tên nhạc sỹ</th>
            <th width="20%" align="left">Ảnh đại diện</th>
            <th width="4%" align="center">H/A</th>
            <th width="4%" align="center">Xóa</th>
        </tr>
        {foreach key=artist_id item=artist from=$data}
        <tr class="{if $artist_id mod 2 !=0}row-odd{else}row-even{/if}">
            <td align="center"><input type="checkbox" class="checkbox genre-id" value="{$artist_id}" name="artist_id[]"/></td>
            <td ><a class="{if $artist.status == 1}status-online{else}status-offline{/if}">&nbsp;&nbsp;&nbsp;&nbsp;</a></td>
            <td id="edit-artist-{$artist.id}"><a href="{$config.app_root_url}?module=artist&act=update&id={$artist.id}" >{$artist.name}</a></td>
            <td id="avatar-{$artist.id}">
                <a class="thumbnail">
                    <img src="../data/avatar/artist/{$artist.avatar}" width="30px" height="30px" />
                    <span><img src="../data/avatar/artist/{$artist.avatar}"<br/>{$artist.name}</span>
                </a>
            </td> 
            <td align="center"><a href="{$config.app_root_url}?module=artist&act=status&id={$artist.id}&status={if $artist.status == 1}0{else}1{/if}" class="{if $artist.status == 1}offline{else}online{/if}" title="Thay đổi trạng thái">Change</a></td>
            <td align="center"><a href="{$config.app_root_url}?module=artist&act=delete&id={$artist.id}" class="delete" rev="artist-item" rel="confirm" title="Bạn chắc chắn muốn xóa?" onclick="javascript: return confirm('Bạn chắc chắn muốn xóa?')">Xóa</a></td>
        </tr>
        {/foreach} 
     </table>
     <div class="table-footer pkg"></div>
     <div id="edit-genre"></div>
</form>